﻿@model PPSL.Web.Models.Movie

@{
    ViewData["Title"] = "Details";
}

<h1>Details</h1>

<div>
    <h4>Movie</h4>
    <hr />
    <dl class="row">
      <dt class="col-sm-2">
        @Html.DisplayNameFor(model => model.Title)
      </dt>
      <dd class="col-sm-10">
        @Html.DisplayFor(model => model.Title)
      </dd>
      <dt class="col-sm-2">
        @Html.DisplayNameFor(model => model.ReleaseDate)
      </dt>
      <dd class="col-sm-10">
        @Html.DisplayFor(model => model.ReleaseDate)
      </dd>
      <dt class="col-sm-2">
        @Html.DisplayNameFor(model => model.Genre)
      </dt>
      <dd class="col-sm-10">
        @Html.DisplayFor(model => model.Genre)
      </dd>
      <dt class="col-sm-2">
        @Html.DisplayNameFor(model => model.Price)
      </dt>
      <dd class="col-sm-10">
        @Html.DisplayFor(model => model.Price)
      </dd>
      <dt class="col-sm-2">
        @Html.DisplayNameFor(model => model.Rating)
      </dt>
      <dd class="col-sm-10">
        @Html.DisplayFor(model => model.Rating)
      </dd>
    </dl>
</div>
<div>
    <a asp-action="Edit" asp-route-id="@Model.Id">Edit</a> |
    <a asp-action="Index">Back to List</a>
</div>
